package com.dayuanit.mars.auto;

import com.dayuanit.mars.map.Point;
import com.dayuanit.mars.map.MarsMap;

public class ForwardEngine extends Engine {
	
	public void move(Point point) {
		if (MarsMap.checkMaxYpoint(point)) {
			point.setYpoint(point.getYpoint() + 1);
		}
	}
}